package cn.iocoder.yudao.module.design.controller.admin.reform.vo;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * 项目整改单 Excel VO
 *
 * @author czw 
 */
@Data
public class ReformExcelVO {

    @ExcelProperty("主键id")
    private Integer id;

    @ExcelProperty("项目id")
    private Long houseId;

    @ExcelProperty("名称")
    private String name;

    @ExcelProperty("说明")
    private String description;

    @ExcelProperty("价格")
    private Double price;

    @ExcelProperty("数量，默认1")
    private Integer num;

    @ExcelProperty("总价，价格*数量")
    private Double totalPrice;

    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("reform_status_cd") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String statusCd;

    @ExcelProperty("签字确认")
    private String confirmUrl;

    @ExcelProperty("创建者")
    private String creator;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty(value = "类型", converter = DictConvert.class)
    @DictFormat("reform_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String reformType;

    @ExcelProperty("确认人")
    private Long confirmUser;

}
